From a Speci cation to an Equivalence Proof in Object-Oriented Parallelism
نویسندگان
چکیده
We investigate the use of a TLA speciication for modeling and proving parallelization within an object-oriented language. Our model is based on Eiiel== a parallel extension of Eiiel, where sequential programs can be reused for parallel or concurrent programming with very minor changes. We want to prove that both versions of a given program (sequential and parallel) are equivalent with respect to some properties. This article presents a description in TLA+ that captures the general Eiiel== execution model, and, as a case-study, speciies a program (a binary search tree) in both its sequential and parallel form. We then prove a property that demonstrates a behavioral equivalence for the two versions.
منابع مشابه
From a Specification to an Equivalence Proof in Object-Oriented Parallelism
We investigate the use of a TLA speci cation for modeling and proving parallelization within an object-oriented language. Our model is based on Ei el= a parallel extension of Ei el, where sequential programs can be reused for parallel or concurrent programming with very minor changes. We want to prove that both versions of a given program (sequential and parallel) are equivalent with respect to...
متن کاملModeling Airport Security Regulations in Focal
We describe the formal models of two standards related to airport security: one at the international level and the other at the European level. These models are expressed using the Focal environment, which is an object-oriented speci cation and proof system. We show how Focal is appropriate for building a clean hierarchical speci cation for our case study using, in particular, object-oriented f...
متن کاملA Theory-Based Representation for Object-Oriented Domain Models Accepted for publication IEEE Transations on Software Engineering
Formal software speci cation has long been touted as a way to increase the quality and reliability of software; however, it remains an intricate, manually intensive activity. An alternative to using formal speci cations directly is to translate graphically-based, semiformal speci cations into formal speci cations. However, before this translation can take place, a formal de nition of basic obje...
متن کاملRepresenting Object Models as Theories
Although techniques for using formal speci cations have been progressing, methods for developing formal speci cations themselves have improved little. To alleviate this problem, we propose a parallel re nement approach to speci cation acquisition where the designer uses an object-oriented speci cation representation while an underlying speci cation composition system manipulates an equivalent t...
متن کاملEvent Handling in ET++ - A Case Study in the Algebraic Specification of Object-Oriented Application Frameworks
In this report we investigate the suitability of algebraic speci cation techniques for the modular speci cation of complex object oriented sys tems As an example part of the event handling mechanism of the ap plication framework ET is speci ed using a variant of the algebraic speci cation language Spectrum
متن کامل